StringScanner.ScanToAlphaNum Function
Syntax
Text as C = ScanToAlphaNum as C()
Arguments
- Text
The text between the starting and ending offset positions.
Description
Skip until a alphanumeric character is encountered. Return text we scanned over.
Discussion
The <StringScanner>.ScanToAlphaNum() function moves the offset to the first alphabetic or numeric character.
Example
dim scanner as P dim txt as C txt = <<%text% <..> is wonderful prose written by a technical writer of note. %text% ? txt = <..> is wonderful prose written by a technical writer of note. scanner = stringscanner.create(txt) ? scanner.scantoalphanum() = "<..> " ? scanner.GetToOffset() = "<..> " ? scanner.getremainder() = is wonderful prose written by a technical writer of note.
See Also